import request from '@/utils/request'

/**
 * 增
 * @param param
 */
export function add(param) {
    return request({
        url: '/api/yxwh/sjzd/add',
        method: 'post',
        data: param
    })
}

/**
 * 删
 * @param param
 */
export function remove(param) {
    return request({
        url: '/api/yxwh/sjzd/remove',
        method: 'post',
        data: param
    })
}

/**
 * 改
 * @param param
 */
export function update(param) {
    return request({
        url: '/api/yxwh/sjzd/update',
        method: 'post',
        data: param
    })
}


/**
 * 查
 * @param param
 */
export function list(param) {
    return request({
        url: '/api/yxwh/sjzd/list',
        method: 'post',
        data: param
    })
}

/**
 * 字典的选项
 * @param param
 */
export function listOptions(param) {
  return request({
    url: ('/api/yxwh/sjzd/' + param),
    method: 'get'
  })
}
